import Vue from 'vue';
// @ts-ignore
import App from './App.vue';
import router from './router';
import store from './store';
import Vant from 'vant';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import axiosRq from './utils/axiosRQ';
import Moment from 'moment';
import 'vant/lib/index.css';
import './assets/common.css';
import 'swiper/css/swiper.css';

Vue.use(Vant);
Vue.use(VueAwesomeSwiper);
Vue.config.productionTip = false;
Vue.prototype.axiosRq = axiosRq;
Vue.filter('comverTime', function (data, format) {
  return Moment(data).format(format);
});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
